package com.zucc.controller.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 4:28 下午
 */
@Data
@ApiModel("留言信息返回值")
public class MessageResp {

    @ApiModelProperty(value = "留言编号", required = true)
    @NotNull(message = "留言编号不能为空")
    private Long id;

    @ApiModelProperty(value = "创建时间", required = true)
    private Date createTime;

    @ApiModelProperty(value = "最后修改时间", required = true)
    private Date modifyTime;

    @ApiModelProperty(value = "归属的系统或者模块字典项编号", required = true)
    private Long sysTypeDictItemId;

    @ApiModelProperty(value = "留言用户编号", required = true)
    private Long userId;

    @ApiModelProperty(value = "留言内容", required = true)
    private String content;

    @ApiModelProperty(value = "联系方式（手机或邮箱）", required = true)
    private String contact;

    @ApiModelProperty(value = "处理过程说明", required = true)
    private String remarks;

    @ApiModelProperty(value = "处理状态，0:待处理，1:处理中，2:已完成", required = true)
    private Integer status;
}
